#ifndef __EJ_FM1505_CONTROL_H__
#define __EJ_FM1505_CONTROL_H__

#include "common_def.h"

typedef enum
{
	FM1505_CMD_RESET = 0x01,
	FM1505_CMD_SWITCH_TO_STANDBY_MODE,
	FM1505_CMD_SWITCH_TO_WORKING_MODE,	
}fm1505_ctrl_cmd_e;

typedef enum
{
	FM1505_MODE_STANDBY = 0x00,
	FM1505_MODE_WORKING = 0x01,
}fm1505_word_mode_e;
#ifdef SUPPORT_FM1505_DMS
void ej_fm1505_init(void);
void ej_fm1505_exit(void);
void ej_fm1505_control(uint8_t cmd, uint8_t param);
fm1505_word_mode_e ej_fm1505_get_mode(void);
#else
#define ej_fm1505_init()	{}
#define ej_fm1505_exit()	{}
#define ej_fm1505_control(a,b)	{}
#define ej_fm1505_get_mode()	(0x0)
#endif

#endif /* __EJ_FM1505_CONTROL_H__ */
    